package com.lill.org.dao;

import com.lill.common.component.dao.IBaseDao;
import com.lill.org.model.CompanyArchitectureModel;

import java.util.List;
import java.util.Map;

/**
 * 公司架构Dao
 *
 * @author lill
 * @date 2019-04-24 15:25:17
 */
public interface ICompanyArchitectureDao extends IBaseDao<CompanyArchitectureModel> {

	int updateChildParentList(Map<String, Object> updateChildMap);

	int updatePersonNum(Map<String, Object> mapParam);

	List<CompanyArchitectureModel> querySaleUser(Map<String,Object> map);

	List<CompanyArchitectureModel> querySaleUser2(Map<String,Object> map);

	List<CompanyArchitectureModel> customerQueryAll(Map<String, Object> map);
	List<CompanyArchitectureModel> queryCompanyAll (Map<String, Object> map);

	int updateDeleteOldParent(Map<String, Object> oldDelMap);

	int updateAddOldParent(Map<String, Object> newAddMap);
	List<String> queryCompanyIdByBigScreen(Map<String,Object> map);
	List<Map<String,Object>> queryBranchByBigScreen(Map<String,Object> map);
	int queryTwoInternet(Map<String,Object> map);
	Integer checkBranchData(Map<String,Object> param);

    List<CompanyArchitectureModel> queryEmployeeUser(Map<String, Object> params);

    List<CompanyArchitectureModel> customerQueryAllUpdate(Map<String, Object> map);
}
